package com.trkj.usercenter;

import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;

import com.trkj.base.BaseActivity;
import com.trkj.taoruiyun.R;

/**
 * Created by LiZanhong on 2015/06/21.
 */
public class SetupActivity extends BaseActivity{
    public static final String ACTION = "com.trkj.usercenter.SetupActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.fragment_attach);

        //将PreferenceFragment加载到布局文件中
        FragmentManager fm = this.getFragmentManager();
        FragmentTransaction ft = fm.beginTransaction();
        ft.replace(R.id.container, new SetupFragment());
        ft.commit();
    }

    @Override
    protected String getCustomerTitle() {
        return "设置";
    }
}
